adds ssl transport security and client certificate authentication support