cli: Support TCP routes.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
controller: Expose GetRoute().

Not used anywhere so far, but should be useful to 3rd party API users.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
test: Fix test to work with the latest CLI.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
test: Add an integration test for TCP apps.

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