Merge pull request #6 from klaeufer/master

changed connection code to work with Smack alpha6 API