Revert "Added on connect function for connection socket that is missing in some cases."

This reverts commit 6ac7c9bebcade9fed26b8bc950a9585c01566e18.

Conflicts:

	lib/xmpp/session.js
Fix typo
Closes #143. Thanks skifan for all the work!
Tidy up test file
0.5.5