examples/interactive-tcp: simplify parsing by using reads.