Fix crash in dtls1_get_record whilst in the listen state where you get two