New more "webish" version

...cket API.

Old "Berkeley style" version saved in subfolder.