Return TA_INTERNET_NO_CONTENT when a HTTP response has no content. Also fix a potential memory leak. Finally, limit the number of retry to avoid "over the board" number of retry.
Return TA_INTERNET_NO_CONTENT when a HTTP response has no content. Also fix a potential memory leak. Finally, limit the number of retry to avoid "over the board" number of retry.


git-svn-id: 33305d871a58cfd02b407b81d5206d2a785211eb@841 159cb52c-178a-4f3c-8eb8-d0aff033d058

shamanland/ta-lib,shamanland/ta-lib,shamanland/ta-lib,shamanland/ta-lib,shamanland/ta-lib,shamanland/ta-lib