Implement getsockopt/setsockopt for zmq transport.