AU: Set connection timeout to 30 seconds.

A slow connect doesn't count toward the timeouts we had, so they could
drag on for many minutes. This sets it to 30 seconds.

BUG=chromium-os:14072
TEST=tested on device with captive portal

Change-Id: I83ae9880e9434b95582f7f93321db9afba6e7585

Review URL: http://codereview.chromium.org/6883076
diff --git a/libcurl_http_fetcher.cc b/libcurl_http_fetcher.cc
index af7e845..eb9d7d8 100644
--- a/libcurl_http_fetcher.cc
+++ b/libcurl_http_fetcher.cc
@@ -122,6 +122,8 @@
   const int kTimeout = IsOfficialBuild() ? 90 : 3 * 60;
   CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_LOW_SPEED_TIME, kTimeout),
            CURLE_OK);
+  CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_CONNECTTIMEOUT, 30),
+           CURLE_OK);
 
   // By default, libcurl doesn't follow redirections. Allow up to
   // |kMaxRedirects| redirections.