Fix http client in ruby 1.8
Different Gemfile for  jruby