corrected bug: zmq_msg_send returns the message size on succes, not 0