New sample to compare the code required for connecting to a REST endpoint using HttpURLConnection and JAX-RS Client API