create a server and a client