refactored to native websocket jetty api