FWIW there is ongoing work with good progress to add websocket support to redbean (https://github.com/jart/cosmopolitan/pull/967)
I've yet to actually build anything with redbean but the more functionality it has, the better.
The project I'd like to explore with it would be to create a lua-based CLI toolkit a la the goodness that charmbracelet is building https://github.com/charmbracelet. Too many distractions atm and I don't have need of that CLI functionality so the impetus is lacking.