Always throw a SocketException from isConnected.

Either a SocketTimeoutException if it's a timeout, or a ConnectException
otherwise.

Bug: 6819002
Change-Id: I06da843bd4dd9a3492f9f1ec3e6cb36fe86ae776