Remote server connection classes for C#