added proxy support and improved error handling
cosmetic changes
Merge branch 'master' of https://github.com/SCS-CBU-CED-IAM/mobileid-cmd