A simple echo server and client