Fixes an a critical crash introduced in 1.6.30 when TLS (SSL) is in use.
If a connection is closed before memcached can accept and handshake it, it can crash due to a null reference.
- tls: fix logging crash
https://github.com/memcached/memcached/wiki/ReleaseNotes1631