Looks like the "natural" way of proceeding here is using the Msf::Exploit::Remote::HttpClient mixin