implement expected continuation frame error handling