correct the server and client with the requested protocol, server has a little function later, and ui interface