This isn't quite right - MCU_strncasecmp() was being used here to check that s begins with the same header portion as MCservercgiheaders[i - 1]. This is actually a little trickier than it needs to be at the moment, due to lack of Substring methods in libfoundation. I'll expand the API and we can revisit.