Fix handling invalid messages

  - Will not reconnect if server responds with an error
  - Will show server error on invalid message
  - Remove ReconnectingWebSocket.refresh()
Fix infinite loop in ws-reconnecting by not doing ws = false
Fix hiding sidebar on iphone
Fix focus on input field on iphone

  - Add support for https://github.com/jhthorsen/mojolicious-plugin-surveil
    using CONVOS_SURVEIL=1.
Fix infinite getHistoricMessages()