- Replaced StringUtils.UrlEncode with Uri.EscapeDataString (as is it used in RavenDB).