Support requests >= 1.0.
Merge pull request #2 from mattspitz/requests_10

Support requests >= 1.0.