docs: @SuppressWarnings("SameParameterValue")
      private byte[] readResponseWithExpectedSize(InputStream is, int size, String description) throws IOException {
          byte[] result = receiveBytes(is);
          if (result.length != size) {
              logger.warn("Expected " + size + " bytes while reading " + description + " response, received " + result.length);
          }
          return result;
      }