Add support for Faraday's updated middleware_registry interface.
Merge pull request #2 from nbibler/faraday-middleware-registry-fix

Add support for Faraday's updated middleware_registry interface.