Cleaned up the 'prepareHttpConfigFor' method of the remote service delegate