Patches for check_http HTTP CONNECT through proxy patch [sf#2975393] [#1040]