Requests 1.x.x compatibility fixes

Hey @saghul,

Here's a pull req. for the requests compatibility fixes :)

If you could give this a once over, I plan to add some tests soon.

Cheers, Phil.