This program echoes back the payload received from clients. When the server receives "stop listening", no more new connection is accepted. After "stop listening" received, and all clients' connections are closed by clients, the program finish gracefully. ios.run() is unblocked automatically.