Backport RFC2616DateParser fix, close #505