code: protected boolean isConnected(final String host, final int port, final int timeoutInMs,
        final ErrorHandler errorHandler) {
      final Socket socket = new Socket();
      return isConnected(socket, host, port, timeoutInMs, errorHandler);
    }
docs: checks if device is connected to given host at given port
  
  @param host to connect
  @param port to connect
  @param timeoutInMs connection timeout
  @param errorHandler error handler for socket connection
  @return boolean true if connected and false if not