cli: serve: allow listening on a socket

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