i think this is really cool! have you seen the recently announced <a href="http://browserver.org/" rel="nofollow">http://browserver.org/</a>? it puts a http server in the browser using a proxy.<p>i've actually done the same things myself, only 2 years ago -- a HTTP server and WebSocket server in the browser via a nodejs proxy server, see: <a href="https://github.com/izuzak/node-revhttpws" rel="nofollow">https://github.com/izuzak/node-revhttpws</a>