Responding to messages with zmq module.