Minor formatting & logging fixes.
Fix TL negitiation error to jabber.org. Caused because default socket handlers were removed. Probably used internally by node.js.