internal static bool ChangeToSSLSocket(ref NetworkStream stream) { #if TARGET_JVM stream.ChangeToSSLSocket(); return(true); #else throw new NotImplementedException(); #endif }