Better error handling for FTPS support