[RFC] Return 401 for an authentication error on WebSockets (#3411)
[RFC] Return 401 for an authentication error on WebSockets (#3411)

* Return 401 for an authentication error on WebSocket

* Use upgradeReq instead of a custom object

kibousoft/mastodon,kibousoft/mastodon,kibousoft/mastodon,kibousoft/mastodon