Revert "Revert "add echo server""

This reverts commit 0d1dad05e43b26e821c8b007806c1e1898836858.