allow the dispatcher to be used directly with http.Handle()