inline _handle_zmq_error
generate_zcert tests