initClient() is moved to an anonymous namespace and is made inlinable.