You need to know the original scheme to create a self referencing URL and the Host header does not supply it. X-Original-URL is already something that URLRewrite uses which is why I changed it. It doesn't actually matter what the header is called as long as it's consistent between what WCFUtil is looking for and how the were server in is configured. Maybe even something app specific like X-MPExtended-URL?