auth: check client version at first and send self version only to client with right version.