title: Forcing chat bot made with JAXL/XMPPHP to reconnect upon disconnection
body: <p>I'm using the JAXL library to implement a jabber chat bot written in php, which is then ran as a background process using the PHP CLI.</p>
  
  <p>Things work quite well, but I've been having a hard time figuring out how to make the chat bot reconnect upon disconnection!</p>
  
  <p>I notice when I leave it running over night sometimes it drops off and doesn't come back. I've experimented with $jaxl->connect() and $jaxl->startStream(), and $jaxl->startCore() after jaxl_post_disconnect hook, but I think I'm missing something.</p>