Allow libcurl to be used as a network backend instead of libsoup.

There is a switch to enable libsoup (ENABLE_SOUP) in the Features.Nix.config.