Check whether the remote is connected
Check whether the remote's underlying transport is connected to the remote host.
1 if it's connected, 0 otherwise.