Fixed wrap-cookies with form-decode-str function …
Cookies still need to be www-form-urlencoded using the URLEncoder and URLDecoder classes to maintain backward compatibility.