Added usage and cleaned some unused code.
Handling empty content-transfer-encodings and adding some more detailed logging.
Catches NPE condition and throws exception when no signers certificate found
Merge remote-tracking branch 'upstream/master'