How do you correctly apply the session to the headers? Can you provide some of the javascript code that is getting called at "authenticateGuest" so I can understand how the headers are getting applied? Is this making an ajax call and can I pass in attributes like "withCredentials", like in the example below, to be able to avoid CORS errors?
When I do a network trace in the Chrome debugger and look at the request headers going to my authenticated chat proxy service, none of the HTTP headers that I put in the below code get applied.