some experiment ideas on decode/encode xmpp stanzas