Minor point, but I prefer avoiding hard wired string lengths like this - just in case the string changes.
Could have a matchHeader(a, b) which returned strstr()+strlen(b) to hide it.