Http checks

Two minor improvements in HTTP checks.