Switch to using the HttpsURLConnection objects

This PR bumps the min SDK version required to 2.3 (we don't have any installs lower than that anyway) as we need SNI support for the production SSL certificate.  It also moves to using the `HttpURLConnection` object for connections, which is a bit more lightweight than the Apache client, and also supports the SNI stuff out of the box.