Improve stanza handling and call delegate for iq, message and presence.