I would actually like to see something standardized here in the URL object, but for now I'll add this method. Good suggestion!