Added thread-safe table of used IP addresses (to avoid multiple alloc.
of same IP).