easy:SetOpt_WS_Options(bitmask)
To detach a WebSocket connection and use the WS send and recv functions
after the HTTP upgrade procedure, get the #CURLOPT_CONNECT_ONLY
option to 2.
Available bits in the bitmask:
#CURLWS_RAW_MODE
#CURLOPT_WRITEFUNCTION
callback.
In raw mode, libcurl does not handle pings or any other frame for the application.