Reindent - no functionality changes.
Redmine 4822: cf-serverd, always admit access to remote "root" user.

Also reshuffled the logic in TransferRights() to make it more clear.
Beautification, no functionality change.
New protocol now sets conn->uid exactly like the classic protocol.
Use CF_UNKNOWN_OWNER instead of arbitrary numbers.
Removed bogus comment. That's not true any more, somebody changed the ItemList to a Seq.
Fixed very very old race with getpwnam().
Merge pull request #1864 from jimis/win_server_admit_root

Windows cf-serverd grants access to root. Redmine 4822.