PreprocessRequestPath returns size_t.
Fix printf() warning, strlen() is size_t.
Old protocol AccessControl(): Resolve whole path instead of only directories.
Merge pull request #1564 from jimis/agent_protocol_version

Fix runagent denial with old protocol