replaced http.client by urllib3 to be able to access HTTPS urls