curl: add a version of curl which knows where to find ca-bundle.crt

AFAIK, we use curl to download the ca-bundle itself. This is why we can't add ca-bundle support to curl by default. This patch adds a different version of curl with new attribute name. I used this version to perform https:// downloads.