Allow cross origin override

Sorry for putting this in the wrong place initially, @ChaseWest. This definitely seems like a better home :-)