fix ssl client support