lavf/libssh: factorize create_ssh_session function