pattern working again. Without using this method all remote urls including the localhost had been accessed through the configured proxy