Client/Server chat using C for client and NodeJS for Server