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.