Increase version number container size to uint16_t and add protocol version