Extract `wireKeyboardInteractiveHandler()` from the inline logic in
`SftpClient.connect` so it can be tested with a plain EventEmitter
instead of mocking ssh2.Client.
Five test cases covering:
- echo:undefined normalisation to echo:false
- handler responses forwarded to finish()
- null (cancel) → finish([])
- handler error → finish([]) + warning log
- multi-prompt round-trip
Closes#173
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>