Patches for check_http false timeout [sf#577242] [#16]