fix send() and recv() when version == 3

In zeromq version 3, function `zmq_msg_recv()` and `zmq_msg_send()` shall return number of bytes in the message if successful, otherwise it shall return -1. 

Possibly fix issue #3