private void getIPAddress() throws IOException
	{
		// Don't need to retrieve IP address on reconnect (probably)
		if (ipAddress != null)
			return;
		
		String response = readURL("http://ll.leagueoflegends.com/services/connection_info");
		
		// If we can't get an IP address for whatever reason (site's down, etc.) use localhost
		if (response == null)
		{
			ipAddress = "127.0.0.1";
			return;
		}
		
		TypedObject result = (TypedObject)JSON.parse(response);
		ipAddress = result.getString("ip_address");
	}