allocate telnetd state when it is needed, saves more BSS