title: Goutte Client with proxy giving errors
body: <p><a href="https://i.stack.imgur.com/mM2Nd.png" rel="nofollow noreferrer">This is the response image</a></p>
  <p>When I try to connect to website to scrap with proxy it gives me this error.
  the object is an instance of Symfony\Component\HttpClient\HttpClient
  What can be issue. below is my  code to connect to the proxy</p>
  <pre><code>$client = new Client(HttpClient::create(['headers' =&gt; ['User-Agent' =&gt; $agent], 'proxy' =&gt; &quot;http://5.183.253.91:8085&quot;])
  $client-&gt;request('GET', $url])
  </code></pre>
  <p>I have tried adding proxy with like this too but it didnt work out.</p>
  <pre><code>$client-&gt;request('GET', $url, ['proxy' =&gt; &quot;http://5.183.253.91:8085&quot;])
  </code></pre>