Use built-in HTTP client to get local IP