test: Add an integration test for TCP apps.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>