Protect against null messages entering splitOutgoingMessage and syncTime...

...Rewrite.

I missed splitOutgoingMessage, but decided to implement them both in the same way.