iks: portable isnan checking
iks: fixes from knlib-server

+ apply fixes to Set class from knlib-server
iks: bugfix -- its safe not to delete vars object

+ cleanly remove timeout callback after deleting Vars object