Bug 1092330 - Use curl to check for server connectivity

Curl is available on some phones (e.g. flame-kk builds) so I thought it made sense to use it if possible rather than disabling this check completely.