<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send(self, text):
 """ Send raw text to the distant end. """

        if text:
            self.send_buffer += text.replace('\n', '\r\n')
            self.send_pending = True