Use StartNewMessage / EndAndQueueMessage to prevent assert with zero size messages. Closes #478.
Web-sync at 2014-10-04 13:18:00 +0800.