anchor.diff:   *
    * 1) Start your server with http://localhost:8080/yourApp....
    * 2) Start this proxy
  - * 3) Call your app from your browser as http://localhost:12345/yourApp...
  + * 3) Call your app from your browser with http://localhost:12345/yourApp...
    *
    * Aug. 2015, Cresc Corp.
    */
  
positive.code: import 'dart:io';
  import 'dart:async';
  
  // you can modify to set following parameters as command line arguments
  var serverHost = InternetAddress.LOOPBACK_IP_V4;
  int proxyPort = 12345;
  int serverPort = 8080;
  
negative.code:   }
  }
  
  // connect to the server and set call back for outbound data
  Future connectToServer(Socket clientSocket) {
    var completer = new Completer();
    Socket.connect(serverHost, serverPort).then((serverSocket) {
      log('Proxy establised a connection for incomig socket ${clientSocket.hashCode}'
        ' with server socket ${serverSocket.hashCode}');
      connections[clientSocket] = serverSocket; // add to the connection table
      // set outbound call back here
      serverSocket.listen((outboundData) {
        processOutbound(clientSocket, serverSocket, outboundData);
      }, onDone: () {
        log('Server side socket disconnected (${clientSocket.hashCode}, ${serverSocket.hashCode})');
        clientSocket.destroy();
        connections.remove(clientSocket);
    //  logCurrentConnections(); // **** for debugging ****
  