A former British soldier who is facing spying charges has admitted escaping from a London prison by clinging to the underside of a delivery truck.