fix connection handling
move this to a proper place
readd connection.end
some more event listeners for example
add client + component for testing purposes
Merge pull request #10 from node-xmpp/connection-hotfix

Connection hotfix