Updated websockets API
`websocket.register` now returns an object, in which you add the callbacks
via `ws:on_XXX(...)`.  Also added an example websockets page in ar_main.lua