network: Allow adding single IP addresses and automatically add the prefix