Client/Server file transfer with custom protocol