open (Net::SSH::Proxy::HTTP)

        # File lib/net/ssh/proxy/http.rb, line 51
    51:     def open(host, port)
    52:       socket = TCPSocket.new(proxy_host, proxy_port)
    53:       socket.write "CONNECT #{host}:#{port} HTTP/1.0\r\n"
    54:
    55:       if options[:user]
    56:         credentials = ["#{options[:user]}:#{options[:password]}"].pack("m*").gsub(/\s/, "")
    57:         socket.write "Proxy-Authorization: Basic #{credentials}\r\n"
    58:       end
    59:
    60:       socket.write "\r\n"
    61:
    62:       resp = parse_response(socket)
    63:
    64:       return socket if resp[:code] == 200
    65:
    66:       socket.close
    67:       raise ConnectError, resp.inspect
    68:     end