get proxy information from config