client: Detect cross-origin requests

Stylistic thing, but I like for there to be fewer negations to work through, so:
`!(domain === this._apiRoot.host && port === this._apiRoot.port)`