Update code for Faraday 0.9

This code fixes things so users can update to Faraday 0.9. I also ran the tests against 0.8.4 and 0.8.9 and they all passed. This will close out issue #101.
Would it help getting this merged if the dependency was changed to `'>= 0.8.4', '< 0.10'`?