Added the Register and Roster Call methods
Changes to XMPP code and some cleanup