base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan...