use requests instead of urllib2 for http