Replace urlparse.urlparse with urllib3's parse_url to get slightly better
error messages when leaving out the scheme of the url to test. urllib3 is
already part of the requirements as it's bundled with requests.