io.sockets.secure: Move some code from secure.unix to secure.openssl. Add a hook for finding sockets to upgrade.