add nsIp URL check and test