save_images: support HTTPS (TLS)