updates for zmq 4.0

- link libsodium if available
- expose zmq.curve_keypair for generating keys