Fix 'httponly' and optimise 'expires'
Fix 'toPlaceholder' and 'tpl'