Add function for spawning smart client. Import from SRL-6