Convert netbios session code to use the new object oriented name API.