Update echo server examples to new syntax