test($http): parsing headers with multiple values

Closes #9473

Closes #10176