internal static extern int SslRead(libssl.SafeSslHandle ssl, byte[] buf, int num);
internal static unsafe extern int SslWrite(libssl.SafeSslHandle ssl, byte *buf, int num);