Authentication of Rasa core for WebChat UI or Socketio

It is still the same, For REST channel it is possible to use JWT with api calls to core server for authentication, for Socket channel as it connect directly to the core server, How does the server authenticate socket connection when it connect the first time(with JWT? or any other way) and then all the conversation between client and core happen directly through socket (No api calls can be seen in network tab of browser as well while conversation is happening once socket is connected) so probably authenticating client request when connection request comes to server first time would be a way to go. Is there mechanism behind the scene core server is using for authentication of socket?

Here is the thread with the similar situation but person moved to Rest at the end: Core Server Security