Adds HTTP sample implementation based on JDK's HttpURLConnection