registry: publish UnitState with TTL

Fix #783
Just parse it in `New()`, then you don't need the redundancy + extra "constructor" functions