experimented with supporting setting proxy from command line