Serialize signaling messages.