You don't need this method because Msf::Exploit::Remote::HttpClient is already providing it