The documentation about the curl say that:
--proto Tells curl to limit what protocols it may use in the transfer. [...] Permit this
--proto
Tells curl to limit what protocols it may use in the transfer. [...]