improved WAN ip checking.