Get supported protocols from curl

The list of protocols that trigger a remote download is now taken
runtime from libcurl.