Is there a WebSocket client (not a server) written for Lua.
It can either be a C module or in pure Lua.
I gave up and switched to regular sockets on the server side. It was much easier.