Echo chat server and client