Index: applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/server/Request.java
===================================================================
--- applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/server/Request.java	(revision 33908)
+++ applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/server/Request.java	(revision 34344)
@@ -4,7 +4,5 @@
 import static org.openstreetmap.josm.tools.I18n.tr;
 
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-import java.net.ConnectException;
+import java.io.IOException;
 import java.net.URL;
 
@@ -12,4 +10,5 @@
 
 import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.tools.HttpClient;
 
 public class Request extends Thread {
@@ -27,13 +26,6 @@
     protected String callServer(String strUrl) {
         try {
-            URL oUrl = new URL(URL + strUrl);
-            BufferedReader oReader = new BufferedReader(new InputStreamReader(oUrl.openStream()));
-            StringBuilder oBuilder = new StringBuilder();
-            String strLine;
-            while ((strLine = oReader.readLine()) != null) {
-                oBuilder.append(strLine);
-            }
-            return oBuilder.toString();
-        } catch (ConnectException e) {
+            return HttpClient.create(new URL(URL + strUrl)).connect().fetchContent();
+        } catch (IOException e) {
             JOptionPane.showMessageDialog(Main.parent,
                     tr("Tracer2Server isn''t running. Please start the Server.\nIf you don''t have the server, please download it from\n{0}.",
