Snow Leopard: Rename type to header_type in process_header