Toplevel example of server and client