Merge pull request #1 from ClaesNilsson/gh-pages

Latest version
Merge pull request #2 from ClaesNilsson/gh-pages

Editorial
New version with style inspired by Web Sockets and Mozilla Firefox OS socket API.

Old "Berkeley style" version saved in subfolder.