enable log for websocket disconnect
remove deprecated headers
use QJson for idendity