First pass at implementing zmq_curve_keypair