lib/telnet_log.c: option name should append to cmd name
lib/telnet.c: variables should be initialized to 0 first
finally we can send commands to a remote telnet server