fixed missing recognition of double line-break to end protocol(s)