Updated archetype doctype to HTML5's one.
Improved error messages in case of wrong WebSocket configuration.