Transfers a complete payload to the caller and starts the next envelope.
Returns empty if no message is ready; inspect ready before calling to
distinguish that case from a legitimate zero-byte message.
Signature
take_message :: (decoder: *Envelope_Decoder) -> [] u8
if decoder.ready { bytes := take_message(*decoder); defer free(bytes.data); }