Fix to work with Faraday 0.8

Hi, I need Faraday 0.8 in my project as the latest twitter gem requires it so I've made changes to support Faraday 0.8.