some fixes for ftp-ssl