More reliable method for fetching remote IP