An HTML stream parser, iterating over html events.