Switch urllib2 to urllib3, StringIO to io for 3.3