protocol version validation