Added an OnError callback to allow clients with bad HTTP protocol implementations to let the parse handler know they're broken.