Remove socket timeout mutation code.
Simplify protocol parsing checks.
Move HTTP exception catching to where it might actually be thrown.
Set a timeout on the main sample stream to test that code path.
Handle HTTP chunks that only contain keep-alive delimiters.
A few cosmetic edits of the iterator function.