Expose the sessionID in the client interface
Only redefine the invalid_session_exception if it has not already been defined