replace zmq_init with zmq_ctx_new