Add support telnet mode