fix parsing of multiline header responses

takes not known headers into account