Add support for downloading artifacts over https (cleanup)