session: Handle session state in ssh_get_status().
session: Handle session state in ssh_get_status().

BUG: https://red.libssh.org/issues/109

robxu9/libssh,mwgoldsmith/ssh,DouglasHeriot/libssh,pouete/libssh,Distrotech/libssh,robxu9/libssh,wangshawn/libssh,mwgoldsmith/libssh,Distrotech/libssh,mwgoldsmith/libssh,elastichosts/libssh,bigcat26/libssh-mod,sebadoom/libssh,elastichosts/libssh,robxu9/libssh,wangshawn/libssh,taikoo/libssh,nviennot/libssh,bigcat26/libssh-mod,DouglasHeriot/libssh,pouete/libssh,nviennot/libssh,mwgoldsmith/ssh,wangshawn/libssh,bigcat26/libssh-mod,nviennot/libssh,robxu9/libssh,kedazo/libssh,Distrotech/libssh,mwgoldsmith/libssh,taikoo/libssh,taikoo/libssh,mwgoldsmith/libssh,pouete/libssh,bigcat26/libssh-mod,kedazo/libssh,taikoo/libssh,DouglasHeriot/libssh,kedazo/libssh,DouglasHeriot/libssh,mwgoldsmith/ssh,pouete/libssh,sebadoom/libssh,mwgoldsmith/ssh,sebadoom/libssh,elastichosts/libssh,wangshawn/libssh,Distrotech/libssh,sebadoom/libssh,kedazo/libssh,nviennot/libssh