Message: use BString.Split().

Could help with #10209.
Fix various issues with cookie time.

* This is more tricky than it looks.
* We probably want easier conversions from struct tm to BDateTime, and
direct parsing/formating there.