Fixed serialisation bug in ZMQ layer RecvMsg