addition of mocked and sslKeyExchange