Updated StatsHandler to use renamed TextWebSocketHandler from previous TextWebSocketHandlerAdapter