Telnet reading improvement.

Changed how the program reads Telnet data to prevent freezes /
desynchronization between player input and what is sent to the server.