Remember modes in telnet client

Conform to RFC854 by not acknowledging requests to
enter a mode that the telnet client is already in.