Accept HTTPS URLs, and use HTTPS by default when downloading. Add gitignore