Message struct to network string.