Please use the TARGETURI option used by Msf::Exploit::Remote::HttpClient (instead of URI)