Made websocket subprotocols conform to spec

fixes #178