Added version checking for client and server code match