Inject socket dependency as a service in services.js