This JIRA is to address jingzhao comment in RATIS-28
Maybe we should consider using RpcType as an internal util stuff instead of exposing it in public interfaces, considering most library users will have to integrate the Ratis library with their own RPC engine.