changed from using iterator to auto for server and clienthandle
Merge branch 'issue_1253' of https://github.com/p-mcgowan/MCServer into issue_1253