title: Is it possible to write on an external socket using Guzzle?
body: <p>Here is my usecase, I want to convert this PHP code:</p>
  
  <pre><code>    $ctx = stream_context_create(array(
          'ssl' =&gt; array(
              'local_cert' =&gt; $myLocalCert,
              'passphrase' =&gt; $myPassphrase,
          ),
      ));
      $stream = stream_socket_client(
          'tls://gateway.sandbox.push.apple.com:2195',
          $errno,
          $errstr,
          30,
          STREAM_CLIENT_CONNECT | STREAM_CLIENT_PERSISTENT,
          $ctx
      );
  
      fwrite($stream, $myMessage, strlen($myMessage));
  </code></pre>
  
  <p>to something similar using the great <a href="http://guzzle.readthedocs.org/en/latest/" rel="nofollow">Guzzle</a> lib.</p>
  
  <p>I know that Guzzle has a Stream class, that we can send as "body" of a request, but I don't even know if Guzzle allows to use another protocol than "http(s)"...</p>
  
  <p>Any Guzzle experts here? :)</p>