Make socket accessible to app_router