working echo server, client, and test