Adding socket.io and websocket connection to pushVersion()