Raise ValueError instead of AssertionError
Raise ValueError instead of AssertionError

HeaderParser.parse_stream() is a public function, so we can't rely on its input
always being well-formed.

jwodder/headerparser