Change user agent access control handler into a more general ACL handler