Using extended CURL GetInfo in PHP?
===

So I am trying to log the outgoing traffic of my cURL requests in PHP. I know I can use curl_getinfo($ch) to get information about the response, and use CURLINFO_HEADER_OUT to see the original request, but this does not include things like local IP or which port the curl request was sent from. These are all values available in libcurl, but not the PHP implementation, it seems.
Is there a way to access something similar to CURLINFO_LOCAL_PORT in PHP? Any stable addons that can solve this or any workarounds that would work in a windows environment?