[#7800] factor out a common method for ip address lookup from a request