revision: use std::unique_ptr in HttpManager