fix bounce === undefined error on websocket upgrade