cli: add support for XenServer HTTP-wrapped NBD

If the server responds to an HTTP PUT saying it will accept a
transfer-encoding of "nbd", then we switch to nbd.

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