Fixed small array bounds error when reading string from console in NetworkClient