docs: private void checkNoReturnedData(Socket socket) throws IOException {
      BufferedInputStream reader = new BufferedInputStream(socket.getInputStream());
  
      if (reader.available() > 0) {
        byte[] buffer = new byte[1000];
        int toRead = Math.min(reader.available(), 1000);
        int read = reader.read(buffer, 0, toRead);
        if (read > 0) {
          LOGGER.warn("Data returned by graphite server when expecting no response! "
                  + "Probably aimed at wrong socket or server. Make sure you "
                  + "are publishing to the data port, not the dashboard port. "
                  + "First {} bytes of response: {}", read,
              new String(buffer, 0, read, "UTF-8"));
        }
      }
    }