update echo server example with comments