Chat messages can contain XML code and all links starting with http, https, ftp and www are parsed and sent correctly to chat service.
Added missing right brace in a condition for "parseURLs" method.
Added missing right brace for parseURLs method.
RegEx inside parseURLs method is executed only once instead of two times : fixes first match not found where there is only one match.
Better string cleanup html/xml entities as suggested by markoscalderon.
Fixed string replacement index in ChatUtil.parseURLs
Merge pull request #349 from speakserve/chat-paste-xml

Ability to paste in XML into Chat