The server side component is available on github somewhere I believe. I did the same thing about 18 months ago. It was somewhat problematic at the time (I had to remove all of the security manager stuff for example - but it was for internal use only) but I did manage to get it to work. I also recall they were going to improve this feature but I haven't kept track if they have @bjartek