Patches for check_http fails to connect to some SSL servers/devices [sf#3066166] [#1154]