Tests for Net_SSH2::isConnected() and more

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