Continuation of my previous work on the http endpoints. This leaves the old noscriptHandler to only serve the HTML pages.