Migrate from httplib2 to requests.