Check for a behavior change on HttpClient.newHttpClient and HttpClient.Builder.build

java.net.http.HttpClient.newHttpClient() and HttpClient.newBuilder().build() may throw an UncheckedIOException if there are not enough underlying resources. Prior to this addition, an undocumented InternalError would have been thrown.

For more information on these methods, see Revisit exceptions thrown when creating an HttpClient fails due to unavailability of underlying resources.