[XSP] Clean up XSPApplicationHost, use modern features