knotc would implement version or server-version call to server to check the version of running instance.
version
server-version