fix(protocol): give access to the client functions according to the version of the server (refs #4710)