backuppc: Added host client encoding and various fixes