Add all features present in libzmq 4.0

With this branch, I can authenticate a client with Curve25519! https://gist.github.com/whitequark/10336532