Echo-server with poll.