Change IMessageSerializer.Serialize to take a single message

fixes #2105