A thin wrapper around http handlers to ease handler coding