main: add a TCP basic send/receive test.