Add basic functions to retrieve path components from Request