Correctly uses proxy configuration from command line options