Initial implementation respecting domain matching, path matching and secure flag