Add Dy nsp socket and Fix outer api cmd