Support for rewriting URLS in an agnostic way so we can embed youtube on
https sites.