title: Build an OAuth request for use with CURL in PHP
body: <p>I'm trying to use OAuth in PHP to communicate with an external server. This is a sever to server function with nothing specific to any user, thus all the tokens and secrets are taken care of it's just fetching the protected resource I have to deal with. That and the proxy.</p>
  
  <p>I can't see how to direct <a href="http://php.net/manual/en/class.oauth.php" rel="nofollow">PHP's OAuth</a> through a proxy but we already have a curl service (within our Symfony2 application) that deals with it appropriately so I'd like to just use OAuth to generate the authentication header and attach that to a regular curl get/post/put. I see the <a href="http://php.net/manual/en/oauth.generatesignature.php" rel="nofollow">generateSignature</a> function but I'm not sure how to apply that to the curl headers.</p>