Check for same origin as host

Skip when they are the same. Fixes #10