Refactor header parsing: remove raw buffer parameter.
hasBody don't need to test for status <= 100.