create TCP client - a cmd line chat server - use of process.stdin.pipe(socket) to get user input and pipe it to socket