Fixed the definition of origin to conform to rfc6454