C-sharp : Unsafe custom SSL implementation