updates for proxy settings and android sdk

adds useProxy method