flush on actor termination
factored out BufferedFSM
telnet server added