Allow setting the timeout on HttpConnection.