Use std::unique_ptr for pimpl idiom in HTTP client.