remove throw exception in libupdate.

Signed-off-by: Jack <jack.wgm@gmail.com>
add avhttp for download.

Signed-off-by: Jack <jack.wgm@gmail.com>
1. implementation check_update.
2. change encode to utf8.
3. fix check.

Signed-off-by: Jack <jack.wgm@gmail.com>