Consolidate WebSocket code in one directory.