Problem: zsock and zgossip_msg don't build on ZMQv2

Solution: use a macro to emulate zmq_msg_send() and zmq_msg_recv()
and do not use zmq_send in version-independent code.