Add Referer header support in get_resource method of BaseTrackerHandler class