Completed Echo Server Demo