RpcMessage: add getTerm to interface