More c# translating.

Translating the final stubborn piece of Server.cs. Will need to write
unit tests again for all of this when I'm finished. Finally I can write
the last parts of the sample API server.