Network string to message struct.