Reactor pattern for ZerMQ. May use libevent as backend.