Inject `socket` into routes as well

Injecting `socket` into routes so we can access it from within routes also.