NodeJS TCP implementation of Sticks