Fix overriding global proxy

Overriding RestClient.proxy now works as expected with ruby 2.

Ref issue #230