Patches for check_http: gzip deflate chunked problem [sf#3294169] [#1099]