Fix type for timeout and connectTimeout in HttpRequestFactory::create