Fix spec for ruby 1.9.3, jruby and rbi as accept encoding gzip is only set by default by Net::HTTP since ruby 2.0.0