get rid of unique_ptr for HTTPProxy