Check for correct protocol version