nodejs code style
sort require
refactored connection
add note
Merge pull request #6 from node-xmpp/refactor-connection

Refactor connection