Handle xml entity references in XmlOverTcp protocol