Fixes #4662: Response returning the wrong protocol
Merge pull request #358 from rjd22/3.3/bugfix/wrong_http_headers

Fixes #4662: Response returning the wrong protocol