updated to be compatible with Faraday 0.9.0, I think

updated to be compatible with Faraday 0.9.0, I think
Merge pull request #23 from alexchee/master

Add Faraday 0.9.0 compatiblity