Patches for check_http, using --certificate doesn't stop other checking [sf#1269582] [#501]