The list of valid paths is computed from http.ServeMux and restful.WebService. Adding a mux helper - wrapper over mux, that keeps track of the paths handled by mux.