The problem is in the QtSslSocket implementation.
Trolltech has been contacted and the development team has created the task entry # 126453.

Thank you anyway wysota!