Added null/undefined check for empty signaling messages