httplib changed to http.client for Python3 support