Updated for requests 1.1.0

Fixes #140.