Patches for add HEAD support to check_http [sf#1831132] [#935]