Describe how to detect v0 or v1 protocol