Added package.json. Updated code to work with socket.io 1.0.2. Closes #1.