Thanks for reporting this issue. It was due to mIRC performing SSL error checking in a way that was not quite right, mainly due to the OpenSSL documentation being a little ambiguous. I found reports by other developers experiencing the same issue and have implemented a solution. Note that the issue is actually present in previous versions of mIRC but manifested itself more reliably in v7.31 due to the optimized SSL routines and extra error checking. The issue has been fixed for the next version.