Bug 1064631 - Wrap UID-based ip addresses and netclasses calculations

[test][extended:broker,cartridge,gear,node]