Insert a buffer in websocket read.