simplifying options for zmq in and out