Improve hasher for IPAddress