[liuxia] Add invalid CR detecting in LWS merging period.
[liuxia] Fix lws merging for tabs.