Added version field to HeartBeat message, as well as some validation routines