[n.d.sqlite] Rewrite SQLiteOpenHelper proxy into a class

This is needed to avoid Android 5.0 proxy bug
Version 3.1.0-preview3