Added ssl support for libcurl