title: zeromq: reset REQ/REP socket state
body: <p>When you use the simple ZeroMQ REQ/REP pattern you depend on a fixed send()->recv() / recv()->send() sequence.
  As <a href="http://lucumr.pocoo.org/2012/6/26/disconnects-are-good-for-you/" rel="noreferrer">this</a> article describes you get into trouble when a participant disconnects in the middle of a request because then you can't just start over with receiving the next request from another connection but the state machine would force you to send a request to the disconnected one.</p>
  
  <p>Has there emerged a more elegant way to solve this since the mentioned article has been written? </p>
  
  <p>Is reconnecting the only way to solve this (apart from not using REQ/REP but use another pattern)</p>