[fsmssh2/proto] Fixup state work with libssh2

Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>