Bug fix: new zmq parameter order

Updated parameter order to avoid zmq_send(): Socket operation on
non-socket error