small netlink cleanups
fix bit.tobit for lua