Update to work with Faraday 0.9.

The latest version of Faraday introduced a breaking change. This updates
it to work with the middleware registration changes.
Merge pull request #253 from johnbellone/master

Update to work with Faraday 0.9.