Add -3 option to CURL for ssl support.