diff --git a/etc/message.xml b/etc/message.xml
index c6875cdcc9a7f1386748fcf0dd87ffb6d2a65828..331e6bb2512fc821ae50952d3faeb50a08561d48 100644
--- a/etc/message.xml
+++ b/etc/message.xml
@@ -445,7 +445,7 @@
 				<key>FetchInventoryDescendents</key>
 				<map>
 					<key>flavor</key>
-					<string>llsd</string>
+					<string>template</string>
 					<key>trusted-sender</key>
 					<boolean>false</boolean>
 				</map>
diff --git a/indra/llcommon/llversionserver.h b/indra/llcommon/llversionserver.h
index 054d8fc896eca8efc59134f1b470e47c1177e3f0..04f7821f64b3267ab5dd687350eafbed2a191bf2 100644
--- a/indra/llcommon/llversionserver.h
+++ b/indra/llcommon/llversionserver.h
@@ -35,7 +35,7 @@
 const S32 LL_VERSION_MAJOR = 1;
 const S32 LL_VERSION_MINOR = 19;
 const S32 LL_VERSION_PATCH = 2;
-const S32 LL_VERSION_BUILD = 82393;
+const S32 LL_VERSION_BUILD = 82965;
 
 const char * const LL_CHANNEL = "Second Life Server";
 
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp
index b5b45c557e7f205a36ff56afaa944e21eac78188..475bd7a839b8400ed157d82bead5f0b70226a089 100644
--- a/indra/llmessage/llurlrequest.cpp
+++ b/indra/llmessage/llurlrequest.cpp
@@ -34,7 +34,6 @@
 #include "linden_common.h"
 #include "llurlrequest.h"
 
-#include <curl/curl.h>
 #include <algorithm>
 
 #include "llcurl.h"
@@ -64,7 +63,6 @@ public:
 	LLURLRequestDetail();
 	~LLURLRequestDetail();
 	std::string mURL;
-	std::string mProxy;
 	LLCurlEasyRequest* mCurlRequest;
 	LLBufferArray* mResponseBuffer;
 	LLChannelDescriptors mChannels;
@@ -195,11 +193,7 @@ void LLURLRequest::useProxy(bool use_proxy)
 
 void LLURLRequest::useProxy(const std::string &proxy)
 {
-	mDetail->mProxy = proxy;
-	curl_easy_setopt(
-		mDetail->mCurlRequest,
-		CURLOPT_PROXY,
-		mDetail->mProxy.c_str());
+    mDetail->mCurlRequest->setoptString(CURLOPT_PROXY, proxy);
 }
 
 // virtual