def METHOD_NAME(self, data):
    """ProcessProtocol override"""
    self._out += data.decode('utf8')
    while '\n' in self._out:
        idx = self._out.find('\n')
        line = self._out[:idx]
        self._out = self._out[idx + 1:]
        sys.stdout.write(self.prefix + self.color + line + Fore.RESET + '\n')