Remove warnings and deprecation messages

I regularly run test suites with --warnings enabled in attempt to fix problems
before they arise, and I've been getting a fair amount of warning spam from
rest-client, or at least enough to bug me into sending a PR :)

I've tried to explain the reasoning behind the changes by commit message, let
me know if you wish me to squash them instead.