c/unicornd: initial unicornd implementation