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.
I don't think just `raise` would work. It needs to raise some kind of exception.