Use curl for all HTTP checks, add timeout.