Add support for the latest version of requests.
Merge pull request #6 from alsanchez/19377dd684b41eb264de0af233e27dae5d6cecf6

#3 Update for recent versions of Request