socket_to_handle : Socket -> Handle' Socket ()
Turning a non-linear socket from Network.Socket into a Handle tailored for Network.TLS.Handle