replacing references to the smap server with the proxy