switch from zmq to iolib for socket communication