code: def _request_tls(self):
          
          self.requested = True
          element = ElementTree.Element(STARTTLS_TAG)
          self.stream.write_element(element)
docs: Request a TLS-encrypted connection.
  
          [initiating entity only]