Improve Message/Exception handling
Fix a bug when using https protocol for NFC transfers