Initial ugly non-portable core of an ident daemon.