**URL Replacement in whenever possible....**

Bothe Service and Application gateway search the responses for the service.connect.url and replace it with their own one. 
This is necessary to obfuscate the Service-Url, and stop applications from contacting the service directly.