Same as above, code didn't change but whitespace. Socket.io and co are only in there for reference until removed or refactored.

Not sure on the gist of the this single feedback though, this is || and the last item ensures that the socket exist.