def handle_close(self):
    self.close()

def handle_read(self):
    print(self.recv(8192))

def writable(self):
    return len(self.buffer) > 0

def handle_write(self):
    sent = self.send(self.buffer)
self.buffer = self.buffer[sent:]
c = http_client('www.readyhosting.com', '/')
asyncore.loop()
How do I use TLS with asyncore?