opiate/SimpleWebSocketServer — pull request #5 by dyfer (2014-06-17 18:19:58+00:00)
Title: send header and message together 

Hi,
I was using your websocket implementation and when I'd send two messages in a short period of time (initiated simultaneously), I'd often get an error "Could not decode a text frame as UTF-8" in Google Chrome. I believe this was because you are sending header and message buffers sequentially. I made changes to send them as a concatenated message and it seems working fine. Do you think there are any problems with my solution?
Cheers