fetch: Factor out supported protocol checking
fetch: Factor out supported protocol checking

Signed-off-by: Si Beaumont <a0992b7f1f450b4c7716d34b81a2d6f0877ae11a@citrix.com>

djs55/planex,djs55/planex,djs55/planex