'Default disconnect handler. Just raises an IOError.
If you choosed to use this class in your production client,
override this method or at least unregister it.'

def DisconnectHandler(self):

    raise IOError('Disconnected    from    server.')
