New utility function Utils::buildUrl()