Web Library Reconnect

- the web library’s websocket no longer has the ability to disconnect, the connection is kept established as long as possible
- when the web library websocket disconnects, it tries to reconnect automatically up to 5 times before actually reporting a websocket close to the native layer
- the server no longer takes the first connection as the web library connection (as a reconnection attempt would be missed with this approach). Instead, the server treats every websocket connection as an “unidentified” connection and listens for “localidentifier” or “remoteidentifier” messages to sort the connection out.

Unfortunately, the reconnect does not currently work when the device is sent to sleep, see #64