Allow users to pass optional args to libcurl

Hi,  there was a need to be able to be able to query openid servers presenting 'known' self-signed certificates. To do this, we needed to be able to use custom CA bundles.  This patch allows optional parameters (such as alternate CA file locations) to be passed to libcurl.  Since it is implemented as an optional argument, it won't break any existing feature.