efingerd.c: use fgets instead of fdgets, close instead of killsock