Fixed headers not being parsed properly when not received all at once