Fix gzip for Ruby 1.9 (broken by cd98b6a)

Net::HTTP automatically run gzip on compressed requests only on
recent Ruby versions. This commit make requests work even for
Ruby 1.9.
Merge branch 'fix-gzip-for-ruby-19'