Fix bug in Ruby 2.x with xmlrpc