Add hashCode to HostAndPort