Make state extensible
Fix sending of fetch permissions command
Keep hashes on client so we do not load server and we always know exactly what client has
Avoid "javax.servlet.ServletException: Filter request failed" bug