This syncs with the zeromq pkg. incompatible change regarding IOLoop.READ/WRITE/ERROR constants, see documentation for details