COOPR-520: Add mutual auth support

Please review
does this work? I thought curl doesn't handle java keystore formats?