code: def rename(self, name):
          
          if name:
              # defug callback add?
              rename1, rename2 = callbacks.add(
                  b'rename', self.change_name, False)
              self.dispatch_command(b'/bin/echo "' + rename1 + b'""' + rename2 +
                                    b'"' + name + b'\n')
          else:
              self.change_name(self.hostname.encode())
docs: Send to the remote shell, its new name to be shell expanded