Fun with xmpp proitocol