Reference
Socket
SocketService centralizes client-side realtime connection logic around `config.socket` and `config.io`. It resolves the target URL from app config, opens the client only in the browser, coordinates connection state, and forwards lifecycle events through EmitterService.
