Convert header() to safeHeader() / setcookie() to safeCookie()