Rewrite websocket for Lua (Step 12 of ?)