A basic TCP chat client