Merge http://github.com/cloudflare/quiche into HEAD

Change-Id: I720ef459c96d4e742776225b582b44940fcc6666
diff --git a/src/ffi.rs b/src/ffi.rs
index f54ff59..5898852 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -40,11 +40,11 @@
 
 use crate::*;
 
-#[no_mangle]
-pub extern fn quiche_version() -> *const u8 {
-    static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), "\0");
-    VERSION.as_ptr()
-}
+// #[no_mangle]
+// pub extern fn quiche_version() -> *const u8 {
+//     static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), "\0");
+//     VERSION.as_ptr()
+// }
 
 struct Logger {
     cb: extern fn(line: *const u8, argp: *mut c_void),
diff --git a/src/tls.rs b/src/tls.rs
index adebc1f..56b575c 100644
--- a/src/tls.rs
+++ b/src/tls.rs
@@ -891,6 +891,12 @@
     trace!("{}", std::str::from_utf8(&err).unwrap());
 }
 
+#[cfg(not(target_os = "fuchsia"))]
+#[link(name = "stdc++")]
+extern {}
+
+#[link(name = "ssl")]
+#[link(name = "crypto")]
 extern {
     // SSL_METHOD
     fn TLS_method() -> *const SSL_METHOD;