cli: stream: separate notions of destination and transport (encoding)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>