code: def connect(self, *args, **kwargs):
          
  
          if hasattr(self, '_vcr_request') and \
                  self.cassette.can_play_response_for(self._vcr_request):
              # We already have a response we are going to play, don't
              # actually connect
              return
  
          if self.cassette.write_protected:
              # Cassette is write-protected, don't actually connect
              return
  
          from vcr.patch import force_reset
          with force_reset():
              return self.real_connection.connect(*args, **kwargs)
  
          self._sock = VCRFakeSocket()
docs: httplib2 uses this.  Connects to the server I'm assuming.
  
          Only pass to the baseclass if we don't have a recorded response
          and are not write-protected.