Fixed bugs related to SslStream server sending intermediate certs to SslStream clients

Fixed bugs related to SslStream server sending intermediate certs to SslStream clients