Using HttpBindServlet embedded within a webapp

Has anyone been able to use HttpBindServlet within a war separate from the ServerStarter? I’ve had limited success modifying and recompiling the source to allow this usage. It doesn’t seem like there is any technical limitation (so-far), and it seems like it would be extremely valuable for people developing BOSH applications to be able to do this.

Is there any interest in getting this built into the mainline Connection Manager? I’m not able to work on it for a couple weeks, but would be happy to contribute my changes in around a month if I can make it work, or put together a patch if anyone wants to finish my work sooner.