I did some work with your project. Now it works better =)
Added recieving fragmented messages support and server-to-client mask…
…ed messages support
Thanks for the patch. But server-to-client frames must not be masked per spec:
So we should not support it. Can you remove that part from the pull request?