event.http: rewrite state machine
event.http: Finally linear

Thanks to a few changes in the line splitter it is now linear in the
worst case (it used to be quadratic lines*bytes). Not tested, but should
work OK even when [13,10] is split in two packets. It's a state machine.
A state machine inside a state machine).