title: GuzzleHttp 6 choose local public ip to send request
body: <p>I use GuzzleHttp to send request to an external API. This API implements a throttling to limit requests to a maximum per second per distant IP.
  I will built a local queuing component but I want to speed up requests and use some of my public IPs to load-balance or use them successively.</p>
  <p>I'm looking for a solution to create GuzzleHttp client and force it to use one of my local public IP or another.</p>
  <p>On a general PHP basis, I found <a href="https://serverfault.com/a/667485/352259">here</a> a way to bind a socket in a stream context, using file_get_contents</p>
  <p>I browsed GuzzleHttp and PSR-7 code and found that it uses StreamInterface that may be wrapped and may be use a stream context in a similar way.</p>
  <p>But I can't find a way to do so.
  Can you give me an example how to implement that ?</p>