.NET API - Connecting to a Server

A fixed version of #54