Refactor the HTTP server to the impl package, as it is the best place to put it.