Replaced all instances of DatabaseHelper creation via new statments to avoid SQL database connection pool exhaustion. Not sure if it works correctly. Fixes issue #3
Mergin changes on master branch
Now using HttpsURLConnection to avoid error due to SNI inability of Apache http class