Patch for more flexible IQ packets that don't use a query child element
This patch adds support for iq stanzas that do not use a 'query' child element. Many newer protocols use a child of a different name to contain the query information. Patched against svn 2767.