adding client APIs in servers and RAFT instance