fix initializing Ridley::Client on Jruby