Provide a method for PhoneGap applications to retrieve the local phone IP.