Refactoring SocketIO module to be more testable