undid change to intennetaddress tuple code (it was right) and fixed asserts in TakeNBitsFrom()