http: don't hardcode the value of CURL_SOCKOPT_OK