Fixed a race condition when the telnet protocol synced with the server with a delay (such as when the connecting client didn't respond to all protocol request tokens. This could lead to the sync overwriting already updated session flags, notably the puppet id (puid). Resolves #583.
Implemented a idstring for the tickerhandler, as per #554.
Made new tickerhandler store_key more ubiquitous, in case of not stopping server before pulling latest.
Adding minor doc update.
Fixes a side effect of the #583 solution only showing up in certain connection timing combinations related to which protocols were supported in a given client. The portal<->server handhshake exchanged the session info an extra round depending on the internal timing of the connection. Also fixed a handshake bug in the MXP initialization.
Made also the prompt parsed for MXP tags and added html parsing for the prompt in the webclient. See #599.
Added TCP keepalive to telnet and webclient, to make sure to (eventually) catch dead connections. Should help #498, but should test on demo before closing.
Fixed some issues in dealing with multibyte characters.
Merge remote-tracking branch 'upstream/master'