Fixes #6534 - rest-client dropped support for Ruby 1.8
Merge pull request #124 from mbacovsky/6534_rest_client

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