Proxy and HTTP over HTTPS

Added ability for the android binary to be called with additional
parameters to use http proxies or to force HTTP connection over HTTPS
Add tests for HTTP proxy system properties.