Currently, there is no option to add a custom `HttpMessageInvoker` on `ClientWebSocket`.[`ConnectAsync`](https://learn.microsoft.com/en-us/dotnet/api/system.net.websockets.clientwebsocket.connectasync?view=net-8.0) this was added in .net7 with support of HTTP/2. https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/websockets