constants are defined as zmq.EVENT_CONNECT_DELAYED, not ZMQ_EVENT_CONNECT_DELAYED.