Change net_conf_import() to only use libnet_conf API functions.