Several questions on stackoverflow have been asked about how to use socket.io server-side when using various routes in express. The problem I encounter is similar, but a differe