Re implemented the part of PmdParser that checks for setex headers