mime decode header before compare

String compare only worked for non mime encoded headers (ascii).
For non english headers it is a rare case.

Caveat: this solution requires iconv PHP extension.