Bug 815491 - Only add origin to relative urls. r=kaze