Bug #736: Better checking to avoid chan_zap segfault re: ss_thread and zt_new()