Payload now includes the size in the allocated byte buffer.