Amend registration logic of supported protocols

Decide whether to support a protocol based on its availability in
the specified libcurl implementation.

Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>