thread decorators
add RPCSession class
save rpc context
don't save node_name as attribute
add whoami remote method that returns the client's own jid