fix bug for sites that don't send a session id in server hello