fix SSL stack and Android JAR resource loading