Rewritten logging in SFTP to use the new way of Net_SSH2