fssh-daemon: fixed stdin eof handling