message_t
multipart_t
Solution: add encode/decode methods to multipart_t giving a codec compatible with the CZMQ equivalent.