sample code for http.client.HTTPConnection
example for urllib.request.urlopen
sample for cookiejar
set upstream to github