Problem: allows CURVE security even if libzmq was built without libsodium

Since we don't want the API to change (it breaks upstream apps), we use runtime checking (assertion).