Simplify domain matching
Merge pull request #16 from lydell/simpler-domain-matching

Simplify domain matching