using python's http.client.HTTPSConnection thruout