Upgrading for latest faraday and faraday middleware