Fixed problem with HTTP 503 errors, where the mar file size was getting multiple Content-Length entries from the http header, rather than only taking the last one in the header - now only takes last. Also will work the same with update.xml files - if multiple entries for a patch type are found, will only take last one in update.xml file