title: Using Charles and SSL Apple push address
body: <p>I have to confirm that my PHP code for sending push notification is working with a proxy. I installed Charles and I'm able to watch all my web traffic through a proxy (127.0.0.1:8888). </p>
  
  <p>Now I would like to see if my script is correctly working for push notifications.
  I have :</p>
  
  <pre><code>stream_context_set_option($ctx, 'http', 'proxy', 'tcp://127.0.0.1:8888');
  $fp = stream_socket_client('ssl://gateway.sandbox.push.apple.com:2195', $err,$errstr, 60, STREAM_CLIENT_CONNECT, $ctx);
  </code></pre>
  
  <p>I'm getting my push notification but I can't see what is happening in Charles. So my script is not using proxy ...</p>
  
  <p>Do you know why ?</p>