Inject `socket` into routes as well 

Injecting `socket` into routes so we can access it from within routes also.
Merge pull request #25 from altrim/patch-1

Inject `socket` into routes as well