A few extensions to the ocaml-ssl library
Corresponds to SSL_shutdown: Closes one half of the SSL connection. If called for the first time, a "close notify" alert is sent to the peer. If called for the second time, it is waited until the peer's "close notify" alert arrives.
get_shutdown to check what
single_shutdown will do.