I've recently came across this problem, and only way I manage to see what is going on is by using debug proxy like:
- burp suite - Linux/Windows/Mac (Java)
- fiddler - Windows
Other solution is using packet inspector like (this option won't let You see HTTPS
traffic):
Solution with proxy is easy to setup, just install, and use:
curl_setopt($ch, CURLOPT_PROXY, 'localhost:8080'); // default for burp suite
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // ignore certs while connecting to https