Please use the more recent TARGETURI option. A complete guide about how to use HttpClient is here https://github.com/rapid7/metasploit-framework/wiki/How-to-Send-an-HTTP-Request-Using-HTTPClient