feature(server) add checkExtension