Display which connection type is in use in the demo app.
Fix bugs in WebSocket reconnection. WebSocket transports were not working after reconnection because the transport is closed when selecting a new transport for the handshake. After the handshake the cached WebSocket transport is reused but its closed status stops it working.