inet modification for fast socket reuse