URLParse: parse URLs into components and re-create URL string from components