clean up code style
nodejs code style
sort require
pass jid object to websocket connection
start parser before being connected in websocket connection
refactored connection
let mocha handle the server
shutdown takes a callback now
Merge pull request #24 from node-xmpp/refactor-connection

Refactor connection