Fix issue with missing socketIo namespace