Support for requests >= 1.0.0
Merge pull request #8 from bobbyrward/master

Support for requests >= 1.0.0