fix axfr in metadata handling and code cleanup
whitespace
Merge pull request #1367 from mind04/signing-slave

fix axfr in metadata handling and code cleanup