winsane: Provide Session IsConnected function to check connectivity

Replaces the previous and now obsolete function to access the Socket.
wiasane: Detect connection loss and set device state to offline