I would like to be able to detect what type of connection is established on the client (with both the JavaScript and .NET client library). Is that possible and if yes, how?

As far as I can see I can detect whether the connection is streaming or polling, e.g. by implementing IConnectionListener and using that when opening the connection from the client. However, I have a hard time finding out what this means exactly.

Does streaming mean web sockets - or could it be either websockets or pushing HTTP chunks back via the same http connection?