If the payload isn't changed the given payload is just returned, otherwise
glib.bytes.Bytes.unref is called on the given payload and a new
glib.bytes.Bytes is returned with the new data.
Extensions using reserved bits of the header will reset them in header.
Process a message after it's received.
If the payload isn't changed the given payload is just returned, otherwise glib.bytes.Bytes.unref is called on the given payload and a new glib.bytes.Bytes is returned with the new data.
Extensions using reserved bits of the header will reset them in header.