title: How do I detect a disconnected session with Strophe.js?
body: <p>Assuming long chat conversations, the connection between Jabber chat clients is likely to get disconnected eventually.</p>
  
  <p>How does one go about detecting that a connection from a Strophe.js based jabber client?</p>