[BUG]: Openfire sends invalid XMPP

Openfire does not properly escape characters that map to XML predefined entities, such as ‘’ and ". This is required by XMPP.

See:

<http://www.xmpp.org/internet-drafts/draft-saintandre-rfc3920bis-03.html#xml-rest rictions> http://www.w3.org/TR/2006/REC-xml-20060816/#sec-predefined-ent