You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ssrf_filter_spec.rb
    path of file: ./repos/ssrf_filter/spec/lib
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'timeout'
require 'webrick/https'

describe SsrfFilter do
  before :all do
    described_class.make_all_class_methods_public!
  end

  let(:public_ipv4) { IPAddr.new('172.217.6.78') }
  let(:pr
    
    def make_web_server(port, private_key, certificate, opts = {}, &block)
      server = WEBrick::HTTPServer.new({
        BindAddress: '127.0.0.1',
        Port: port,
        SSLEnable: true,
        SSLCertificate: certificate,
        SSLPrivateKey: private_key,
        StartCallback: block
      }.merge(opts))

      server.mount_proc '/' do |req, res|
        res.status = 200
        res['X-Subject'] = certificate.subject
        res['X-Host'] = req['host']
      end

      server
    end