improve performance of WebSocket for large messages
Merge pull request #1 from uken/perf-improvements

improve performance of WebSocket for large messages