Correctly getting remote host addresses.