Fix outdated references to JobDetailBean

Issue: SPR-12306
TextMessage.toString() does not throw StringIndexOutOfBoundsException for payload with multibyte characters

Issue: SPR-12307
WebSocketSession extends java.io.Closeable, plus reorganization of AbstractSockJsSession's code

Issue: SPR-12311