Tests for Net_SSH2::isConnected() and more

Follows #412
Reproduces #408 (invalid size) for me locally.