combine echo server and client