ZMQ: fix crash on bad port number
ZMQ: fix the port number usage