Subject: Application hangs after getting a 404 from server
After leaving application idle for a long time, sometimes I see the server throws back a 404, Invalid SID. The client does not reconnect or sends an error back when this happens. Is there an event that I can add handler to, so that I can close the XMPP connect and open a new one in my application.