Automatically set system proxy from network connection