Explicit listen on '0.0.0.0' in wsproxy. Proxy port number is configurable now.
diff --git a/wsproxy/wsproxy-udp.js b/wsproxy/wsproxy-udp.js
index 9b79ac2..b81e2bd 100644
--- a/wsproxy/wsproxy-udp.js
+++ b/wsproxy/wsproxy-udp.js
@@ -9,6 +9,7 @@
 
 var opt = require('node-getopt').create([
   ['c' , 'ccnd=ARG', 'host name or ip of ccnd router'],
+  ['p' , 'port=ARG', 'port number on which the proxy will listen'],
   ['m' , 'maxclient=ARG', 'maximum number of concurrent client'],
   ['L' , 'LOG=ARG', 'level of log message display'],
   ['h' , 'help', 'display this help']
@@ -17,8 +18,10 @@
 .parseSystem(); // parse command line
 
 var ccndhost = opt.options.ccnd || 'localhost';
+var wsport = opt.options.port || 9696;
 
-var wss = new WebSocketServer({port:9696});
+var wss = new WebSocketServer({port:wsport, host:'0.0.0.0'});   // Set host to '0.0.0.0' so that we can accept connections from anywhere
+                                                                // This host has nothing to do with ccndhost.
 
 var MaxNumOfClients = opt.options.maxclient || 40;