Handling buffered chunks with incomplete header. Fixes #2.