initial socket.io setup (the server has to be started through server.js and not bin/www anymore)