Added a parser parameter to the HTML reader

This should allow for greater flexibility in case the reader works with one parser (e.g. html5lib) and not another for abnormal input.