code: def data_received(self, data):
          
          self.set_timeout()
          data = self.decode(data)
          if self.queue:
              data = self.queue.popleft() + data
          lines = data.replace('\r', '').split('\n')
          self.queue.append(lines.pop(-1))
          for line in lines:
              self.bot.dispatch(line, iotype='dcc_in', client=self)
docs: data received