Disable custom https handler for fetch_url on older pythons

Fixes #8898