some work on the http server, to provide some flexibility on where the path is determined, and routed from