Adding writeLine to Telnet