simplifying access to the http.Request inside the rest.Request