Implement local mode control (ECHO only) for telnet, this allow application to disable ECHO of telnet, it's useful to input password during shell login and other case. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>