add some helpful functions to the session proxy, and work around the fact that the API has a 'clone' RPC, which conflicts with a built-in ruby method