Implement simple echo server