Injecting socket io into the module