celluloid/reel — pull request #6 by afcapel (2012-08-09 12:34:32+00:00)
Title: Support version 13 of the websocket spec 

Hi, I've been working on making the websocket with the latest version of the protocol (13), which is the official standard (rfc6455). Earlier versions are only drafts and have security flaws, so I think they shouldn't be supported.

The websocket parsing logic is bundled in [its own gem](http://github.com/afcapel/websocket_parser), just in case anyone want to use it for anything else.

With this update the websockets example works with the latest version of Chrome, Safari and Firefox.

Please, let me know if you see any chance for improvement in the code.

Cheers,

-- Alberto