update for faraday 0.9.0 API