def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def start_tls(self, read_server_info=True):
        self.start_tls_called = True