SSL Support for `fetch_remote_file` function