I have exactly the same problem between my two servers, the handshake is made but I have the folllowing error.
XMLHttpRequest cannot load http://www.SERVER:8111/socket.io/1/?t=1349514190664. Origin http://CLIENTSERV.com is not allowed by Access-Control-Allow-Origin.
tryed the origin parameters and I've uploaded the socket.io.js file on the client server... can"t see why I have so much ifficulties to make that work since I have
info - socket.io started
debug - client authorized
info - handshake authorized KdzAXjXfzP3JfRoZUCMa
Any one can help me ? I'm getting desperate