renaming variables and params (WebSocketApplication -> TyrusEndpoint)