code: def _create_socket(self):
          
          log.warning('No certificate check is performed for SSL connections')
          s = super(SSL, self)._create_socket()
          return wrap_socket(s)
docs: Creates a new SSL enabled socket and sets its timeout.