title: How to check if curl has support for ssl?
body: <p>How can I check if php curl was compiled with ssl and has support for ssl?
  I mean, a simple check to see if curl is available would be: </p>
  
  <p>if(extension_loaded('curl'))</p>
  
  <p>but how do I check if curl also has support for ssl? I need this check because ssl support is needed to using oauth2 - based API and I need some way to quickly check if client's php is able to the oauth2 before actually using it (and failing)</p>