Trying to use the right IP address if proxies are in use.