The way I'd do it is to not rely on .config files, but instead set it programmatically in the plugin, and either store the proxy configuration data in the configuration string for the plugin registration step, or store it in some custom configuration entity
in CRM
Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk