fix proxy check on android