Filecopy with ssl client and server