ZMQ: fixed indentation and port check