fix WebSocket cannot send/receive more than 4096 bytes of data