Using ServletUpgradeRequest rather than the deprecated ServletWebSocketRequest.