Please attach a test project that replicates this problem. Also, specify what is in the resource? You can attach the project and the file for the resource here or in a forum PM.
I managed to do it by splitting the proxy and port in to there own variables and adding the : in the proxy mod [[PROXY]]:[[PORT]] which pulled the proxy and port back together, i`ll try what you've suggested too.