code: def send_line(self, data, nowait=False):
          
          data = data.replace('\n', ' ').replace('\r', ' ')
          f = asyncio.Future(loop=self.loop)
          if self.queue is not None and nowait is False:
              self.queue.put_nowait((f, data))
          else:
              self.send(data.replace('\n', ' ').replace('\r', ' '))
              f.set_result(True)
          return f
docs: send a line to the server. replace CR by spaces