CURL: remove Encode() overload; Encode() return new value instead of modifying parameter,
include fix of using wrong Encode() overload introduced in  5dc310eb2dd6bee1207cd29b1ce4a7eb5cf57fff
CURL: remove Decode() overload; Decode() return new value instead of modifying parameter
CURL::Encode usage refactoring
Remove duplicated local function for CURL:Encode()
CURL::Decode usage refactoring
Merge pull request #4022 from Karlson2k/fix_curl_encode_mess

Fix mess with CURL::Decode and CURL::Encode