HTTP Proxy Websocket Frame Length
In some cases, messages exceeding the Websocket frame length for HTTP Proxy can cause connections to fail and disconnect. For example, an error message may appear on the screen when connecting to another server via RDP through a server connected using HTTP Proxy.

In order for Websocket to work without errors on the HTTP Proxy when frame length exceeds the default limit, the following line should be added as a parameter to the http-proxy-properties file.
http.proxy.codec.max.websocket.frame.length=MAX_LIMIT (in bytes)
If this value is not defined by the user, the default value is set to 1 MB.
If the Websocket frame length does not exceed this limit, there is no need to make any additional definitions.