Minor WebSocket fixes on a large buffers.