Upgrade a request to websocket.
external bool upgrade(web.Request request, [UpgradeOptions? options]);