Extract WebSocket02 code into a separate implementation.
Split websocket into two compilation units.
Genericize WSDoor