I had a copy of the old file socketclient.js located in MagicMirror/js folder. once I replaced the new new file with the backup it is working.
Here is the Key line that needs fixed.
replace
// Private Methods
self.socket = io("/" + self.moduleName, {
path: window.location.pathname + "socket.io"
});
with
// Private Methods
self.socket = io("/" + self.moduleName);