fix for #870 ssh connection hang

I added a tcp_test_ssh function that's using nonblock socket to check if the remote ssh is up before using Net::SSH.start to check if the ssh daemon completely operational. Is just a workaround of to the problem until the Net::SSH will use nonblocking sockets.