O(n) algorithm for verifying protocol versions
Add ProtocolVersion() method to help checking