420945 - support websocket batching

Initial commit prepare for implementation
delay creating payload buffers for text frames