Added dump utility to replace telnet. Handles <lf> → <cr><lf>.
Fixed cleanup and shutdown ordering for dump.