move xmpp to a mixin