public void closeConnections() throws IOException {
    for (Socket socket : sockets) {
      socket.close();
    }
  }
Test client to handle renegotiation from server
It only affects the next connection rather than all connections
After setting renegotiate to true, the next connection to the server will be renegotiated
ambry-network/src/test/java/com/github/ambry/network/EchoServer.java