fixes #53 by adding function to convert rfc822 string to datetime

Adds `datetime_from_rfc822` which takes an RFC822 formatted string and returns a datetime.