Fix SSL shutdown_transport function

See issue #15 ;)