Move character encoding/decoding to TelnetClientManager