Index: trunk/src/org/openstreetmap/josm/gui/widgets/JosmEditorPane.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/JosmEditorPane.java	(revision 9174)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/JosmEditorPane.java	(revision 9175)
@@ -7,5 +7,4 @@
 import java.io.InputStream;
 import java.net.URL;
-import java.net.URLConnection;
 import java.text.MessageFormat;
 
@@ -17,6 +16,6 @@
 
 import org.openstreetmap.josm.gui.util.GuiHelper;
+import org.openstreetmap.josm.tools.HttpClient;
 import org.openstreetmap.josm.tools.LanguageInfo;
-import org.openstreetmap.josm.tools.Utils;
 
 /**
@@ -76,11 +75,10 @@
     @Override
     protected InputStream getStream(URL page) throws IOException {
-        URLConnection conn = Utils.setupURLConnection(page.openConnection());
-        InputStream result = conn.getInputStream();
+        final HttpClient.Response conn = HttpClient.create(page).connect();
         String type = conn.getContentType();
         if (type != null) {
             setContentType(type);
         }
-        return result;
+        return conn.getContent();
     }
 
