dont be able to call stopParser endlessly
restart parser when upgrading to tls
do that only when a socket exist
clean up on end
prefix debugging to make it filterable via DEBUG=xmpp:* or exclude them via DEBUG=-xmpp:*
need to set reconnect to true so stopParser works properly
fix typo
code style
Merge pull request #30 from node-xmpp/moar-fix

Moar fix