Add content length and date headers to CORS response