Fix KTcpSocket to return correct negotiated protocol
Review Request #122007 - Created Jan. 12, 2015 and submitted
This pull request fixes a long standing issue in KTcpSocket where member functions "negotiatedSslVersion" and "negotiatedSslVersionName" returned the requested protocol instead of the actual negotiated one because QSslSocket did provide a means of accessing the actual negotiated protocol. Since this has been addressed in Qt 5.4, the problem should be fixed in KTcpSocket as well. Additionally the patch also adds support for Tlsv1_1 and TlsV1_2 protocols.