It took a bit of digging for me to figure how to do this, and I would think that many users of websockets would want to be able to adjust the tcp socket options.
For example, for a wss connection:
WebSockets.open("wss://uri") do ws
Sockets.naggle(ws.socket.bio, false)
Sockets.quickack(ws.socket.bio, true)
...
end