xmpp chat,sm, and chat