I would like to know if its possible to clear the current information stored in header_list()
if(headers_sent()){ foreach(headers_list() as $header){
You can remove the headers only if they're not already sent. If headers_sent is true, the headers have already gone out and you cannot unset them anymore.
headers_sent
true