package com.westudio.java.client;

public class LocalTunnelClient {

    public static void main(String[] argv) {

    }
}

@@ -32,40 +32,336 @@
 t;%0A%0A
-public class LocalTunnelClient %7B
+import java.net.MalformedURLException;%0Aimport java.net.URL;%0A%0Apublic class LocalTunnelClient %7B%0A%0A    private static final String URL_STRING = %22http://localhost/direct-tunnel/%22;%0A    private static final String AUTH = %22USERNAME:PASSWORD%22;%0A%0A    private static String host;%0A    private static String path;%0A    private static int port;
 %0A%0A  
@@ -402,14 +402,438 @@
  arg
-v
+s
 ) %7B%0A%0A
+        if (args == null %7C%7C args.length %3C 3) %7B%0A            return;%0A        %7D%0A%0A        URL url;%0A        try %7B%0A            url = new URL(URL_STRING);%0A        %7D catch (MalformedURLException e) %7B%0A            e.printStackTrace();%0A            return;%0A        %7D%0A%0A        host = url.getHost();%0A        port = url.getPort() %3C 0 ? url.getDefaultPort() : url.getPort();%0A        path = url.getPath();%0A%0A        while (true) %7B%0A%0A        %7D%0A
     

update the LocalTunnelClient.....