refactor class Xmpp\Stanza