title: stream_socket_client unable to connect (connection timed out)
body: <p>I am using the certificate, and the private key</p>
  <pre><code>$ctx = stream_context_create();
  stream_context_set_option($ctx, 'ssl', 'local_cert', $certfile);
  stream_context_set_option($ctx, 'ssl', 'passphrase', $pass);
  $fp = stream_socket_client('ssl://gateway.xyz.com:2195', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx);
  </code></pre>
  <p>Its running in my local XAMPP Server, but its not working in the external server:</p>
  <blockquote>
  <p>Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in /home/biranchi/public_html/push.php on line 42</p>
  <p>Failed to connect 110</p>
  </blockquote>
  <p>What is the error? Do i need to change some setting in the server?</p>