add domain acl support
fix the issue introduced by newline
add license headers
fix #76
Merge pull request #77 from madeye/acl2

Refine ACL support