added feature to allow clients to declare their version to server