Msf::Exploit::Remote::HttpClient provides already a peer method which just returns "#{rhost}:#{rport}"