def setup(self):
self.connection = self.request  <EOL>self.rfile = socket._fileobject(self.request, "<STR_LIT:rb>", self.rbufsize)<EOL>self.wfile = socket._fileobject(self.request, "<STR_LIT:wb>", self.wbufsize)<EOL>
We need to use socket._fileobject Because SSL.Connection
doesn't have a 'dup'. Not exactly sure WHY this is, but
this is backed up by comments in socket.py and SSL/connection.c