Example code for connecting to facebook xmpp server