external: Sync with openconnect rev 7ade1d21f

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
external: Add multi-arch curl build

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
libs/assets: Sync with latest sources

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
AuthFormHandler: Use the latest authgroup API

The "selected" flag on each form choice has been replaced with
authgroupField and authgroupSelection in the main AuthForm object.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
New AssetExtractor class for scripts and native helper binaries

AssetExtractor opens up the apk file and extracts any files matching
"assets/raw/<ARCH>/*" or "assets/raw/noarch" into
/data/data/app.openconnect/files/

By default it will use mode 0755, and skip any files with the same CRC
as the archive contents, to avoid generating unnecessary flash writes.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Reorganize raw resources

Move binaries and scripts under assets/raw so they do not need to be
assigned a resource ID.  Delete old precompiled ARM curl binary.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Add traffic stats counters to LogWindow and StatusFragment

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
OpenConnectManagementThread: Use updated setCSDWrapper API to set PATH

Add mFilesDir to $PATH so that it is easy to run the curl binary from
the CSD script.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>