Update middleware registry for Faraday 0.9.x

I updated middleware registry because Faraday.register_middleware has been removed in v0.9 .