I was able to solve my problem. The problem that i was having was related to a bug in the JavaScript API. I never did have an issue with using the proxyURL. For that all I did was download the proxy.ashx and proxy.config file from the Esri documentation and referenced it as the documentation stated.