fix serve impl to remove query string from targetUrl

for use with new AppendVersionQueryParam processor