ssl: log ssl handshake start/end, enable partial writes, allow
SSL_write of 0 bytes in case of a handshake