Changed how client version handling is done. Now global version is used if set.
Changed how server version is handled. Global version is used, otherwise latest is used.