Http checks improvements

Two minor improvements in HTTP checks.