modified TelnetWrapper.cs (line:304~311)