Updated to work with ZeroMQ version 4
Merge pull request #2 from idlewan/master

Updated to work with ZeroMQ version 4