Chomping by lines
Fixed processing trailing buffer on interruptions
Broken: todo, fix byteOffset, cutting in the middle of the next line (\r\n), etc...