Previous implementation used for simplifications for downloading curl command. This instead implements download using libcurl.
Previous implementation used for simplifications for downloading curl command. This instead implements download using libcurl.