add autodetect option to [proxy]