echo-server example: extend with ACKED mode