COOPR-520: Add mutual auth support

Please review
Why not just use IOException?