web.py: Handle newer versions of Requests library