A couple connection reliability improvements:
A couple connection reliability improvements:

1. Ignore read errors that occur during TLS handshake
2. Increased send timeout for large messages (this was causing the send thread to throw an exception)
3. Clear the scheduler on reconnect: A session timeout check would span multiple reconnect
   attempts and otftentimes clobber a lively connection attempt that was in-progress
4. Better exception handling for send and event threads
5. Use sendall or send with a byte count to ensure all bytes are sent

EnerNOC/smallfoot-sleekxmpp