support libzmq 4.0

this doesn't add any support for new features,
but it does allow 4.0 to work, since it is compatible with 3.2.
Merge pull request #98 from minrk/zmq4

support libzmq 4.0