Fixed StartOfRunData, also versioned the protocol so that it can be changed in the future (from client)
Added reporting of protocol errors