Added headers stripping for subrequest