Make Faraday easily swappable with Net::HTTP

There're several occasions that I needed to use Faraday instead of Net::HTTP, and while being mostly compatible, I had to monkey patch it for providing the "code" method.