def read(self): return Net.read(self.ssl)
def write(self, xml): Net.write(self.ssl, xml)
def read(self): res = Net.read(self.socket) self.disconnect() return res
def write(self, data): self.connect() Net.write(self.socket, data)