Adopted Apache's DateUtils class to use for parsing header dates and times