Buffer control for WebSocket Send