Also some improvement on boundary handling on old uploader
unified output using http_print added Cache-Control header