I was trying this out with my AC, and after succesfull log in socket communication was not working (401 error). Turned out that Authorization token needs to be supplied with every HTTP request. To do that can initialize socket with a user provided ClientSession which has "Authorization" supplied in the headers. I have coded a fix, but have not yet figured out how to create a PR.