New code wasn't working with ZMQ v2
Merge pull request #606 from hintjens/master

New code wasn't working with ZMQ v2