Refactor ssl detection from linked libraries for consistency with other ssl detection paths
Refactor ssl detection from linked libraries for consistency with other ssl detection paths

pycurl/pycurl,pycurl/pycurl,pycurl/pycurl