@Override
  public SocketNetworkClient getNetworkClient() throws IOException {
    Selector selector = new Selector(networkMetrics, time, sslFactory, networkConfig);
    return new SocketNetworkClient(selector, networkConfig, networkMetrics, maxConnectionsPerPortPlainText,
        maxConnectionsPerPortSsl, connectionCheckoutTimeoutMs, time);
  }
Construct and return a new {@link SocketNetworkClient}
@return return a new {@link SocketNetworkClient}
@throws IOException if the {@link Selector} could not be instantiated.
ambry-network/src/main/java/com/github/ambry/network/SocketNetworkClientFactory.java