TCP chat client prototype