einaros/ws — pull request #56 by nicokaiser (2012-04-11 09:58:26+00:00)
Title: Fix hixie close frame handling and allow empty messages

Hixie close frames are [0xff, 0x00], not [0x00, 0xff], according to the spec.

This fix changes the hixie sender and the test to send the right frame, and to allow empty messages (which are [0x00, 0xff]).