- Do not return error IQ result if the string to validate is not a
valid JID. It is indistinguishable if the error is caused by the
string to check, or if some other involved JID, like the one in the
'to' attribute, is malformed.
- Return the normalized JID in its parts, to make it clear which parts
constitute the JID</li>
- Do not use text as child of an IQ child element. Using text makes it
impossible to inject further child elements as XMPP disallows mixed
content.
- Add support for base64 encoding.
After getting a green light from Lance on collaborating with me on
this, this commit also adds me to the author list.