use strcasestr cause header is case insensitive. use char* instead of array.