COOPR-520: added mutual auth support
COOPR-520: fixed minor issues
COOPR-520: refactored code
COOPR-520: fixed PR comments
COOPR-520: removed  unnecessary catch clause
Merge pull request #7 from cybervisiontech/feature/mutual_auth

COOPR-520: Add mutual auth support