cli: streaming: support reading and writing from an inherited file descriptor

Using syntax
  --source fd:X

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