You can set permissions on the socket using the second callback argument on the listen function but a user of this library has no way of doing that. This makes the socket feature quite useless unless you run the server as the same user as the proxying server, which is far from ideal.
I'm not a Node.js guy, I just want to set up Xen Orchestra in a secure manner.