Fixes #6534 - rest-client dropped support for Ruby 1.8