Better error checking on HTTP response line.
Better error checking on HTTP response line.

* Better error checking on HTTP response line.

* Avoid doing a lookup for every used header by iterating the hash table and doing a strcmp for all known headers. This is not necessarily faster for several cases, but it allows us to gather custom headers at the same time and avoid a second iteration.

Distrotech/libsoup,fanc999/libsoup,fanc999/libsoup,Distrotech/libsoup,jwendell/libsoup,ahmedammar/platform_external_gst_libsoup,fanc999/libsoup,jwendell/libsoup,fanc999/libsoup,Distrotech/libsoup,ahmedammar/platform_external_gst_libsoup,ahmedammar/platform_external_gst_libsoup,jwendell/libsoup,jwendell/libsoup,Distrotech/libsoup,jwendell/libsoup,fanc999/libsoup,Distrotech/libsoup