updated tcp chat client