client: skip version checking in unversioned client

Also added some tests.