A network layer for HTML5 games using Node.js