Add Faraday 0.9.0 compatiblity

I think I updated the middleware for Faraday 0.9.0, the specs pass, but I haven't used Faraday so I'm not sure if this is the only change needed.