Added check for valid IP address incase of any portal redirects during IP extraction from curlmyip.com, prev received some html instead of valid IP.