Fix response header parsing
The QHttpHeaders class returns header values as QByteArrays, so
do not convert them to QStrings immediately.
Instead, do all the parsing as byte arrays, and only convert to
strings when really necessary.
As a drive-by: fix a couple of places where the headers were
parsed case-sensitively.
This is a pre-requisite for fixing Content-Disposition header
parsing in scope of the linked task.
Task-number: QTBUG-141443
Pick-to: 6.11
Change-Id: Ib6951134cd59d5ce9964c1be23ee3654b7a2694f
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>