changed demo to echo server