adapt msgpack to the new ProtocolBase api