add ws and wss scheme

with test cases and proposed changeling