Streaming regular expression replacement in response bodies