consitified makeNewHandler()

enable const http endpoints