Add compatibility with faraday 0.9.0