A simple server and client