But here is my first working trial with Socket.io that I made without anyones script.
All it does is Send a X position every 10 milliseconds. If it's over 500 the server will reset to start position.
The game is not moving the Red Square by itself, it uses the coordinates it gets from the server.
(Only works when I am running the Server :p)