Check network before AGPS data update, fixes #18 for good.

Signed-off-by: mvglasow <michael -at- vonglasow.com>