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: net_http.rb
    path of file: ./repos/sham_rack/lib/sham_rack
    
    the code of the file until where you have to start completion: require "net/http"
require "rack"

class << Net::HTTP

  alias :new_without_sham_rack :new

  def new(address, port = nil, *proxy_args)

    
      def build_response(rack_response)
        status, headers, body = rack_response
        code, message = status.to_s.split(" ", 2)
        message ||= Rack::Utils::HTTP_STATUS_CODES[code.to_i]
        response = Net::HTTPResponse.send(:response_class, code).new("Sham", code, message)
        response.instance_variable_set(:@rack_body, body)
        headers.each do |k,v|
          response.add_field(k, v)
        end
        response.extend ShamRack::NetHttp::ResponseExtensions
        return response
      end