Node websocets structure