class WebMock::HttpLibAdapters::NetHttpAdapter

def start_without_connect

def start_without_connect
  raise IOError, 'HTTP session already opened' if @started
  if block_given?
    begin
      @socket = Net::HTTP.socket_type.new
      @started = true
      return yield(self)
    ensure
      do_finish
    end
  end
  @socket = Net::HTTP.socket_type.new
  @started = true
  self
end