Added event handler for error messages to SimpleHtmlParser