fixed call to zmq_getsockopt