socketstream/socketstream — pull request #316 by rngadam (2012-10-21 10:28:58+00:00)
Title: Improve generated app to support being launched by child_process.fork

create a new generate + run test;
minimal without extra deps by excluding Stylus and Hogan;
change generated app uses dynamic port alloc;
make generated app importable/forkable;
add parent notification of allocated port;
when not minimal, set stylus+hogan+jade to run demo.

...need some more work, but wanted to get some feedback before going further.

When trying to generate the demo (non-minimal), the page comes up but the browser spits out some errors on the console:

```
PPB_Graphics2D.PaintImageData: Rectangle is outside bounds.
Uncaught TypeError: Cannot call method 'render' of undefined app.js:10
(anonymous function) app.js:10
EventEmitter.emit system:573
(anonymous function) system:934
EventEmitter.emit system:576
(anonymous function) system:1004
c.emit system:347
c.onPacket system:347
d.onPacket system:347
c.onPacket system:347
c.onData system:347
websocket.onmessage
```