change interface IClient and IServer.