add regular expression matching to --output-http-rewrite-url

I extended --output-http-rewrite-url to also accept regular expressions for matching.
Did not know about ReplaceAllString function, love go std lib! :)