code: def handle_write(self):
          
          num_sent = self.send(self.write_buffer)
          if self.debug:
              if self.state is not STATE_NOT_STARTED or options.password is None:
                  self.print_debug(b'<== ' + self.write_buffer[:num_sent])
          self.write_buffer = self.write_buffer[num_sent:]
docs: Let's write as much as we can