Port to use urllib3 instead of requests

This should allow the library to be used on Google App Engine, where the requests library isn't supported.