Let user specify protocol

Let the user specify the protocol which should be used for the clone
operation.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>