Detect and notify Console users of disconnect

If a session becomes non viable, alert the calling code to the condition.
Calling code needs to be able to recognize non string data if registering
a callback for this to work.

Change-Id: I0bb921c5b88edd1ca2e4ba2594e28e9e0ce5ca81