Fixed server code to compile with Xcode 6 Beta 6.
Merge pull request #6 from nuudles/master

Fixed server code to compile with Xcode 6 Beta 6.