title: Debug CakePHP HttpSocket data being sent in get
body: <p>Is there a way to see the raw data being sent in a <code>HttpSocket-&gt;get()</code>? I get the response from the server but I can't tell if the headers I am sending are formatted correctly or if there are any default headers being sent that I need to override.</p>
  
  <pre><code>$options = array(
    'header' =&gt; array(
      'OSLC-Core-Version' =&gt; '2.0',
      'Accept' =&gt; 'application/xml'
    )
  );
  
  $HttpSocket = new HttpSocket();
  $results = $HttpSocket-&gt;get($url, null, $options);
  </code></pre>
  
  <p>The returned data contains the raw returned information, I am looking for a way to debug the raw data before it is sent to the remote server.</p>
  
  <p>Thanks</p>