Revert "Fix verion-major intolerance"

This reverts commit 6d841c2c5cad97effe1e6a0f9cc69492fc433ec2.

This commit introduced a security-critical bug in the way the client version
is validated. Let's first revert it to fix the security issue, and then fix
the version-major intolerance issue another way.
1 file changed