private TTransport getRawBinaryTransport() throws Exception {
    return HiveAuthUtils.getSocketTransport(host, port, 0);
  }
Configure a wrong service endpoint for the client transport,
and test for error.
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/service/cli/thrift/TestThriftHttpCLIServiceFeatures.java