public TelnetClient(InputStream in, PrintStream out,
String host, int port) {
TelnetWrapper telnetWrapper = new TelnetWrapper();
try {
telnetWrapper.connect(host, port);
} catch (IOException e) {
System.out.println("TelnetClient: Got exception during connect: " + e);
e.printStackTrace();
}
createAndStartReader(telnetWrapper, out);