added basic echo server code