Rewrite websocket for Lua (Step 18 of ?)
Documentation for Websocket for Lua