Support http.HandlerFunc.