Parses the rfc822 date string.
input date string
the #GDateTime representation of the date string specified by str or null on error.
Parses the rfc822 date string.