Enable cache-control to be more finely tuned

Allow cache-control to be set to any cache-control the user wishes, also fixes the case that if cache=0 then the max-age will be set to 3600.