configure proxy from config file

fixes #52