Added https support for fetch_url