Hessian protocol implementation in Ruby