code: def makefile(self, sock, mode='r', bufsize=-1):
          
          cls = (
              SSLFileobjectStreamReader
              if 'r' in mode else
              SSLFileobjectStreamWriter
          )
          if SSL and isinstance(sock, ssl_conn_type):
              wrapped_socket = cls(sock, mode, bufsize)
              wrapped_socket.ssl_timeout = sock.gettimeout()
              return wrapped_socket
          # This is from past:
          # TODO: figure out what it's meant for
          else:
              return cheroot_server.CP_fileobject(sock, mode, bufsize)
docs: Return socket file object.