handle empty user agents and referrers more gracefully
spamhaus zen lookup wasn't handling the array to get domain IP address correctly