extract _parse_datetime_header function
rewrite regexp parsing
parse datetime values with no timezone info

fixes #56
Merge branch 'fix-time-parsing'