Cosmetic updates to chain processing.
Move payload length from the payload itself into the Exit header.