Added HTTPS test. Switched implementation to use Jersey's HttpURLConnectionHandler