fix connection handling
move that to a proper place
Merge pull request #27 from node-xmpp/connection-hotfix

Connection hotfix