Implemented simple echo server as first example