Integrate socket.io in Require.js.