websocket.js passes up to 64k of data to one call to socket.send(), but kTxBufferSize is only 1024 bytes, so I get:
modules/network/socket/lin/modSocket.c (761) # Exception: (host): can't write all data!
The docs say to use socket.send() with no args to get the amount of data that can be sent.
I guess I can bump up kTxBufferSize but websocket.js should break the data into pieces, no?