Added echo server code