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: http_client.rs
    path of file: ./repos/ninja/crates/mitm/src/proxy
    
    the code of the file until where you have to start completion: use http::{response::Builder, Request, Response};
use hyper::{body, Body};
use reqwest::impersonate::Impersonate;

use super::error::Error;

#[derive(Clone)]
pub struct HttpClient {
    inner: reqwest::Client,
}

impl HttpClient {
    pub fn new(proxy: Option<String>) -> Self {
        let mut builder = reqwest::Client::builder();
        if let So
    
    pub fn new(proxy: Option<String>) -> Self {
        let mut builder = reqwest::Client::builder();
        if let Some(p) = proxy {
            builder = builder.proxy(reqwest::Proxy::all(p).expect("faild build proxy"));
        }
        let inner = builder
            .impersonate(Impersonate::Chrome99)
            .http1_title_case_headers()
            .danger_accept_invalid_certs(true)
            .build()
            .expect("faild build reqwest client");
        Self { inner }
    }