Fixed server code to compile with Xcode 6 Beta 6.

I made some quick modifications to get the Swifter code running with the latest Swift changes in Beta 6.