add debug messages
harmonize interface for websockets
fix wrong spelling
Merge pull request #50 from node-xmpp/debug

Debug