Added event buffer. refactored parsing to pass HeaderRecord to handler