[core] support IPv6 in $HTTP["remote-ip"] CIDR cond match (fixes #2706)