smart proxy discovery

does it make sense to extract the constants to settings?