Make Jid implement CharSequence
Truncate Date String to contain at most milliseconds

Thanks to Phil Winder for the bug report and the initial version of the
fix.