Fix detach -a by skipping clients where the session is NULL.
Merge branch 'obsd-master'