You should be able to replace ```#{rhost}:#{rport}``` with just ```#{peer}``` because ```peer``` is a built-in method in HttpClient.